import { Component, OnInit, Input, SimpleChanges, OnChanges } from '@angular/core';

@Component({
  selector: 'app-personal-on-off',
  templateUrl: './personal-on-off.component.html'
})
/**
 * @author csw
 * @description:预约-个人设备通断共享业务组件
 * @date 2021-01-28 15:12:40
 */
export class PersonalOnOffComponent implements OnInit, OnChanges {
@Input() personalOnOfRecordData: any[];
  personalOnOfRecordList: any[] = [];
  constructor() { }

  ngOnInit() {
  }
ngOnChanges(changes: SimpleChanges): void {
    if (changes.personalOnOfRecordData) {
      this.personalOnOfRecordList = changes.personalOnOfRecordData.currentValue;
    }
}
}
